package com.rop.znyx.activity.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rop.znyx.model.activity.SecKill;
import com.rop.znyx.vo.activity.SecKillQueryVo;

/**
 * Created with IntelliJ IDEA
 * User: Rop
 * Date: 2023/7/11
 * Time: 9:40
 * Description:
 */

public interface SecKillService extends IService<SecKill> {

    /**
     * 获取秒杀的分页列表
     */
    IPage<SecKill> selectPage(Page<SecKill> pageParam, SecKillQueryVo SecKillQueryVo);

    /**
     * 更新状态
     */
    boolean updateStatus(Long id, Integer status);
}
